-- GENERATED SPELL FOR [Aqueous Surger] --


function spell0_22881(pUnit, Event) --@Poison Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(40095,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22881', 6000, 1)
end

function Sorts_22881(pUnit, Event)
local choix_sorts_22881 = math.random(0, 0)
if choix_sorts_22881 == 0 then
pUnit:RegisterEvent('spell0_22881', 1, 1)
end
end

function mob22881_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22881', math.random(1500, 3000), 1)
end

function mob22881_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22881_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22881_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22881, 1, 'mob22881_Action')
RegisterUnitEvent(22881, 2, 'mob22881_Leave')
RegisterUnitEvent(22881, 3, 'mob22881_Kill')
RegisterUnitEvent(22881, 4, 'mob22881_Die')
